package com.ruoyi.supply.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.ruoyi.supply.domain.TMemberConsumeLog;
import com.ruoyi.supply.domain.base.BaseInfoEntity;
import com.ruoyi.supply.domain.dto.ConsumeLogDto;
import com.ruoyi.supply.domain.dto.ConsumeLogSearchDto;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * @author huangxiong
 * @date 2025/06/14 16:00
 */
public interface TMemberConsumeLogMapper extends BaseMapper<TMemberConsumeLog> {
    List<ConsumeLogDto> getConsumeRecord(@Param("dto") ConsumeLogSearchDto consumeLogSearchDto);

    List<BaseInfoEntity> getInfoConsumeRecord(@Param("memberId") Long memberId,@Param("type") String type,@Param("status") String status);

    List<TMemberConsumeLog> getGradeConsumeRecord(@Param("memberId") Long memberId,@Param("status") String status);
}
